home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: newshost.grace.cri.nz!maths!peterm
- From: peterm@maths.grace.cri.nz (Peter McGavin)
- Subject: Re: Qblit intereference again
- Message-ID: <PETERM.96Feb29111630@tui.maths.irl.cri.nz>
- Date: 28 Feb 1996 22:16:30 GMT
- Distribution: world
- References: <4gb6om$104@sunsystem5.informatik.tu-muenchen.de>
- Organization: Industrial Research Ltd
- In-reply-to: fischerj@Informatik.TU-Muenchen.DE's message of 20 Feb 1996
- 01:05:26 GMT
-
- fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) writes:
- >My Qblit function still locks up if OS does small blits between it.
- >help please.
-
- A few other things to check:
-
- Make sure the same bltnode is not being used for 2 blits at the same
- time. Don't clear the first field in the bltnode (which is used
- internally by the system) while the bltnode is in use by the system.
-
- Be careful with CPU busy-loops and priorities. If the program CPU
- busy-loops for QBlit() to finish and a lower-priority task owns the
- blitter at the instant QBlit() is called, then the lower-priority task
- can't get the CPU to disown the blitter ---> result lockup. IMO, it's
- better to Wait() for a Signal() from the QBlit() cleanup function than
- to busy-loop.
-
- The first blit in every QBlit() chain must initialise _all_ the
- blitter registers for the blitter channels used.
- --
- Peter McGavin. (p.mcgavin@irl.cri.nz)
-
-